//
//  KTTool.h
//  KTVShopProduct
//
//  Created by paeanSs on 2017/11/8.
//  Copyright © 2017年 paeanSs. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface KTTool : NSObject
/*
 获取宽度
 */
+(CGFloat)widthOfString:(NSString *)string font:(UIFont *)font height:(CGFloat)height;
/*
 获取高度
 */
+(CGFloat)heightOfString:(NSString *)string font:(UIFont *)font width:(CGFloat)width;
/*
 截图
 */
+ (UIImage *)snapshot:(UIView *)view;
@end
